
Import('McucppHome')
testEnv = Environment(toolpath = [McucppHome + '/scons'], tools=['mcucpp'])

testEnv.Append(CPPPATH = '#/./')

tests = testEnv.Object(testEnv.Glob('*.cpp'))
testEnv['CURRENT_BUILD_TARGET'] = 'UnitTests'

test_result = testEnv.Test('mcucpp_test', tests)

testEnv.Alias("UnitTests", [test_result])